//
//  Monster.hpp
//  fingeradvanture
//
//  Created by 8089 on 16/5/13.
//
//

#ifndef _MONSTER_H_
#define _MONSTER_H_

#include <stdio.h>
#include "cocos2d.h"
#include "Box2D/Box2D.h"
#include "MonsterDen.hpp"
#include "Utils.hpp"
#include "GB2ShapeCache-x.h"

USING_NS_CC;

class Monster :public Node
{
public:
    Monster();
    ~Monster();
    static Monster* create(b2World* world,MonsterType type);
    bool init(b2World* world,MonsterType type);
    const std::string getMosterTypeName(MonsterType type);
    inline Sprite* getMonster(){ return monster;};
private:
    Sprite* monster;
};

#endif /* _MONSTER_H_ */
